<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>目录函数函数</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="directory.rewind.html">« Directory::rewind</a></li>
      <li style="float: right;"><a href="function.chdir.html">chdir »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.dir.html">目录</a></li>
    <li>目录函数函数</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="ref.dir" class="reference">
 <h1 class="title">目录函数函数</h1>

 <div class="partintro">
  <h1 class="title">参见</h1>
  <p class="para">
   相关函数，例如：<span class="function"><a href="function.dirname.html" class="function">dirname()</a></span>、
   <span class="function"><a href="function.is-dir.html" class="function">is_dir()</a></span>、 <span class="function"><a href="function.mkdir.html" class="function">mkdir()</a></span> 和
   <span class="function"><a href="function.rmdir.html" class="function">rmdir()</a></span>，
   请查看<a href="ref.filesystem.html" class="link">文件系统</a>章节。
  </p>
 </div>

 






































































<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="function.chdir.html">chdir</a> — 改变目录</li><li><a href="function.chroot.html">chroot</a> — 改变根目录</li><li><a href="function.closedir.html">closedir</a> — 关闭目录句柄</li><li><a href="function.dir.html">dir</a> — 返回一个 Directory 类实例</li><li><a href="function.getcwd.html">getcwd</a> — 取得当前工作目录</li><li><a href="function.opendir.html">opendir</a> — 打开目录句柄</li><li><a href="function.readdir.html">readdir</a> — 从目录句柄中读取条目</li><li><a href="function.rewinddir.html">rewinddir</a> — 倒回目录句柄</li><li><a href="function.scandir.html">scandir</a> — 列出指定路径中的文件和目录</li></ul>
</div>
</div></div></body></html>